google.maps.__gjsload__('marker', function(_){var bWa=function(a,b){const c=_.Ka(b);a.mh.set(c,b);a.nh.si()},cWa=function(a,b){if(a.nh.has(b)){_.Qn(b,"UPDATE_BASEMAP_COLLISION");_.Qn(b,"UPDATE_MARKER_COLLISION");_.Qn(b,"REMOVE_COLLISION");a.nh.delete(b);var c=a.oh;const d=_.Ka(b);c.mh.has(d)&&(c.mh.delete(d),b.Vo=null,c.nh.si());_.wca(a.mh,b)}},dWa=function(a,b){a.nh.has(b)||(a.nh.add(b),_.Mn(b,"UPDATE_BASEMAP_COLLISION",()=>{a.ph.add(b);a.qh.gq()}),_.Mn(b,"UPDATE_MARKER_COLLISION",()=>{a.qh.gq()}),_.Mn(b,"REMOVE_COLLISION",()=>{cWa(a,b)}),bWa(a.oh, b),_.vca(a.mh,b))},eWa=function(a){return`${_.Pm(a)}-internal-${a}`},fWa=function(a,b){b=(a=a.__e3_)&&a[b];return!!b&&Object.values(b).some(c=>c.jD)},gWa=function(a,b,c){return new _.Ln(a,`${b}_removed`,c,0,!1)},hWa=function(a,b,c){return new _.Ln(a,`${b}_added`,c,0,!1)},CR=function(a){return a?_.or.has(a)?_.or.get(a):a instanceof ShadowRoot?CR(a.host):CR(a.parentNode):null},iWa=function(a){var b=1;return()=>{--b||a()}},DR=function(a){return a instanceof _.sC},ER=function(a){return DR(a)?a.getSize(): a.size},jWa=function(a,b){if(!(a&&b&&a.isConnected&&b.isConnected))return!1;a=a.getBoundingClientRect();b=b.getBoundingClientRect();return b.x+b.widtha.x+a.width+0||b.y+b.heighta.y+a.height+0?!1:!0},kWa=function(a,b){_.XI().mh.load(new _.wL(a),c=>{b(c&&c.size)})},lWa=function(a,b){a=a.getBoundingClientRect();b=b instanceof Element?b.getBoundingClientRect():a;return{offset:new _.Oo(b.x-a.x,b.y-a.y),size:new _.So(b.width,b.height)}},FR=function(a){a=new DOMMatrixReadOnly(a.transform); return{offsetX:a.m41,offsetY:a.m42}},GR=function(a){const b=window.devicePixelRatio||1;return Math.round(a*b)/b},mWa=function(a,{clientX:b,clientY:c}){const {height:d,left:e,top:f,width:g}=a.getBoundingClientRect();return{Th:GR(b-(e+g/2)),Uh:GR(c-(f+d/2))}},nWa=function(a,b){if(!a||!b)return null;a=a.getProjection();return _.Ix(b,a)},oWa=function(a,b){const c=_.aM(a);if(!b||!c)return!1;a=Math.abs(c.clientX-b.clientX);b=Math.abs(c.clientY-b.clientY);return a*a+b*b>=4},pWa=function(a,b){const c=[]; c.push("@-webkit-keyframes ",b," {\n");_.Ob(a.frames,d=>{c.push(d.time*100+"% { ");c.push("-webkit-transform: translate3d("+d.translate[0]+"px,",d.translate[1]+"px,0); ");c.push("-webkit-animation-timing-function: ",d.un,"; ");c.push("}\n")});c.push("}\n");return c.join("")},qWa=function(a,b){for(let c=0;c=a.frames[c].time&&b"stylers"in e)&&_.N(a,174113);sWa(b)&&_.N(a,149062);b.get("anchorPoint")&&_.N(a,149064);c=b.get("animation");c===1&&_.N(a,149065);c===2&&_.N(a,149066);b.get("clickable")===!1&&(_.N(a,149091),b.get("title")&&_.N(a,149063));b.get("draggable")&&(_.N(a,149069),b.get("clickable")===!1&&_.N(a,149070));b.get("visible")===!1&&_.N(a,149081);b.get("crossOnDrag")&&_.N(a,149067);b.get("cursor")&&_.N(a,149068);b.get("label")&&_.N(a,149080);b.get("title")&&_.N(a,149090);b.get("opacity")!= null&&_.N(a,149082);b.get("optimized")===!0?_.N(a,149085):b.get("optimized")===!1&&_.N(a,149071);b.get("zIndex")!=null&&_.N(a,149092);c=b.get("icon");var d=new IR;(d=!c||c===d.icon.url||c.url===d.icon.url)?_.N(a,173084):_.N(a,173083);typeof c==="string"?_.N(a,149079):c&&c.url!=null?(c.anchor&&_.N(a,149074),c.labelOrigin&&_.N(a,149075),c.origin&&_.N(a,149076),c.scaledSize&&_.N(a,149077),c.size&&_.N(a,149078)):c&&c.path!=null?(c=c.path,c===0?_.N(a,149088):c===1?_.N(a,149072):c===2?_.N(a,149073):c=== 3?_.N(a,149086):c===4?_.N(a,149087):_.N(a,149089)):DR(c)&&_.N(a,149083);b.get("shape")&&(_.N(a,149084),d&&_.N(a,162762));if(c=b.get("place"))c.placeId?_.N(a,149093):_.N(a,149094),b.get("attribution")&&_.N(a,149061)}},vWa=function(a,b,c){uWa(a,c,d=>{a.set(b,d);const e=d?ER(d):null;b==="viewIcon"&&d&&e&&a.mh&&a.mh(e,d.anchor,d.labelOrigin);d=a.get("modelLabel");a.set("viewLabel",d?{text:d.text||d,color:_.Dm(d.color,"#000000"),fontWeight:_.Dm(d.fontWeight,""),fontSize:_.Dm(d.fontSize,"14px"),fontFamily:_.Dm(d.fontFamily, "Roboto,Arial,sans-serif"),className:d.className||""}:null)})},uWa=function(a,b,c){b?DR(b)?c(b):b.path!=null?c(a.nh(b)):(_.Fm(b)||(b.size=b.size||b.scaledSize),b.size?c(b):(b.url||(b={url:b}),kWa(b.url,d=>{b.size=d||new _.So(24,24);c(b)}))):c(null)},wWa=function(a){const b=a.get("mapPixelBoundsQ");var c=a.get("icon");const d=a.get("position");if(!b||!c||!d)return a.get("visible")!==!1;const e=c.anchor||_.np,f=c.size.width+Math.abs(e.x);c=c.size.height+Math.abs(e.y);return d.x>b.minX-f&&d.y>b.minY- c&&d.x{a.style.webkitAnimationDuration=c.duration?c.duration+"ms":"";a.style.webkitAnimationIterationCount=`${c.on}`;a.style.webkitAnimationName=b||""})},zWa=function(){const a=[];for(let b=0;b{}});a.mh=RR(a,b,a.mh,c,e);FWa(a,c,SR(a))}},KWa=function(a){var b=a.getLabel();if(b){if(!a.qh){const e=a.qh=new HWa(a.getPanes(),b,a.get("opacity"),a.get("visible"),a.pi);a.Vh=[_.Mn(a,"label_changed",()=>{e.setLabel(a.get("label"))}),_.Mn(a,"opacity_changed",()=>{e.setOpacity(a.get("opacity"))}), _.Mn(a,"panes_changed",()=>{var f=a.get("panes");e.xm=f;JR(e);e.nh.si()}),_.Mn(a,"visible_changed",()=>{e.setVisible(a.get("visible"))})]}if(b=a.getIcon()){var c=a.mh,d=SR(a);c=IWa(a,b,d,MR(c)||_.np);d=ER(b);d=b.labelOrigin||new _.Oo(d.width/2,d.height/2);DR(b)&&(b=b.getSize().width,d=new _.Oo(b/2,b/2));xWa(a.qh,new _.Oo(c.x+d.x,c.y+d.y));a.qh.setZIndex(JWa(a));_.Cq(a.qh.nh)}}},MWa=function(a){if(!a.zh){a.oh&&(a.uh&&_.On(a.uh),a.oh.cancel(),a.oh=null);var b=a.get("animation");if(b=LWa[b]){var c=b.options; a.mh&&(a.zh=!0,a.set("animating",!0),b=EWa(a.mh,b.icon,c),a.oh=b,a.uh=_.Xn(b,"done",()=>{a.set("animating",!1);a.oh=null;a.set("animation",null)}))}}},NR=function(a){if(a)for(let b=0,c=a.length;b{a.Ah=!1;OR(a);_.Cq(a.rh)},0);_.dy(c);_.ao(a,"mouseup",c.mh)},nl:({event:c,Gq:d})=>{if(a.get("clickable")!==!1||a.getDraggable())_.fx(c.mh),c.button===3?d||c.button===3&&_.ao(a,"rightclick",c.mh):d?_.ao(a,"dblclick",c.mh):(_.ao(a,"click",c.mh),_.N(window,171150))},Cu:c=>{_.ey(c);_.ao(a,"contextmenu",c.mh)}}),a.th=new _.VB(b,b,{ut(c){_.ao(a,"mouseout", c)},vt(c){_.ao(a,"mouseover",c)}}))},NWa=function(a,b,c,d){c=c||_.wx("div",b);_.kr(c);b===a.getPanes().overlayMouseTarget?(b=d.element.cloneNode(!0),_.hJ(b,0),c.appendChild(b)):c.appendChild(d.element);b=d.getSize();c.style.width=_.Qo(b);c.style.height=_.Ro(b);c.style.pointerEvents="none";c.style.userSelect="none";_.Xn(d,"changed",()=>{a.nh()});return c},UR=function(a){const b=a.marker.get("place");a=a.marker.get("position");return b&&b.location||a},VR=function(a,b){a.ph&&a.ph.has(b)&&({marker:a}= a.ph.get(b),b.zn=PWa(a),b.zn&&(b=a.getMap())&&_.N(b,184438))},RWa=function(a,b){if(a.ph){var {uF:c,marker:d}=a.ph.get(b);for(const e of QWa)c.push(hWa(d,e,()=>{VR(a,b)})),c.push(gWa(d,e,()=>{!PWa(d)&&b.zn&&VR(a,b)}))}},SWa=function(a){const b=a.nh.__gm;a.mh.bindTo("mapPixelBounds",b,"pixelBounds");a.mh.bindTo("panningEnabled",a.nh,"draggable");a.mh.bindTo("panes",b)},TWa=function(a){const b=a.nh.__gm;_.Mn(a.uh,"dragging_changed",()=>{b.set("markerDragging",a.marker.get("dragging"))});b.set("markerDragging", b.get("markerDragging")||a.marker.get("dragging"))},VWa=function(a){a.rh.push(_.$n(a.mh,"panbynow",a.nh.__gm));UWa.forEach(b=>{a.rh.push(_.Mn(a.mh,b,c=>{const d=a.wh?UR(a):a.marker.get("internalPosition");c=new _.WB(d,c,a.mh.get("position"));_.ao(a.marker,b,c)}))})},WWa=function(a){const b=()=>{a.marker.get("place")?a.mh.set("draggable",!1):a.mh.set("draggable",!!a.marker.get("draggable"))};a.rh.push(_.Mn(a.uh,"draggable_changed",b));a.rh.push(_.Mn(a.uh,"place_changed",b));b()},XWa=function(a){a.rh.push(_.Mn(a.nh, "projection_changed",()=>{WR(a)}));a.rh.push(_.Mn(a.uh,"position_changed",()=>{WR(a)}));a.rh.push(_.Mn(a.uh,"place_changed",()=>{WR(a)}))},ZWa=function(a){a.rh.push(_.Mn(a.mh,"dragging_changed",()=>{if(a.mh.get("dragging"))a.zh=a.qh.ko(),a.zh&&_.FM(a.qh,a.zh);else{a.zh=null;a.yh=null;var b=a.qh.getPosition();if(b&&(b=_.Mr(b,a.nh.get("projection")),b=YWa(a,b))){const c=_.Ix(b,a.nh.get("projection"));a.marker.get("place")||(a.xh=!1,a.marker.set("position",b),a.xh=!0);a.qh.setPosition(c)}}}));a.rh.push(_.Mn(a.mh, "deltaclientposition_changed",()=>{var b=a.mh.get("deltaClientPosition");if(b&&(a.zh||a.yh)){var c=a.yh||a.zh;a.yh={clientX:c.clientX+b.clientX,clientY:c.clientY+b.clientY};b=a.Mh.Nm(a.yh);b=_.Mr(b,a.nh.get("projection"));c=a.yh;var d=YWa(a,b);d&&(a.marker.get("place")||(a.xh=!1,a.marker.set("position",d),a.xh=!0),d.equals(b)||(b=_.Ix(d,a.nh.get("projection")),c=a.qh.ko(b)));c&&_.FM(a.qh,c)}}))},$Wa=function(a){if(a.oh){a.mh.bindTo("scale",a.oh);a.mh.bindTo("position",a.oh,"pixelPosition");const b= a.nh.__gm;a.oh.bindTo("latLngPosition",a.marker,"internalPosition");a.oh.bindTo("focus",a.nh,"position");a.oh.bindTo("zoom",b);a.oh.bindTo("offset",b);a.oh.bindTo("center",b,"projectionCenterQ");a.oh.bindTo("projection",a.nh)}},bXa=function(a){if(a.oh){const b=new aXa(a.nh instanceof _.kp);b.bindTo("internalPosition",a.oh,"latLngPosition");b.bindTo("place",a.marker);b.bindTo("position",a.marker);b.bindTo("draggable",a.marker);a.mh.bindTo("draggable",b,"actuallyDraggable")}},WR=function(a){if(a.xh){var b= UR(a);b&&a.qh.setPosition(_.Ix(b,a.nh.get("projection")))}},YWa=function(a,b){const c=a.nh.__gm.get("snappingCallback");return c&&(a=c({latLng:b,overlay:a.marker}))?a:b},PWa=function(a){return QWa.some(b=>fWa(a,b))},dXa=function(a,b,c){if(b instanceof _.uo){const d=b.__gm;Promise.all([d.nh,d.oh]).then(([{Mh:e},f])=>{cXa(a,b,c,e,f)})}else cXa(a,b,c,null)},cXa=function(a,b,c,d,e=!1){const f=new Map,g=h=>{var k=b instanceof _.uo;const n=k?h.__gm.Vr.map:h.__gm.Vr.streetView,p=n&&n.nh===b,r=p!==a.contains(h); n&&r&&(k?(h.__gm.Vr.map.dispose(),h.__gm.Vr.map=null):(h.__gm.Vr.streetView.dispose(),h.__gm.Vr.streetView=null));!a.contains(h)||!k&&h.get("mapOnly")||p||(b instanceof _.uo?(k=b.__gm,h.__gm.Vr.map=new eXa(h,b,c,_.wM(k,h),d,k.Bh,f)):h.__gm.Vr.streetView=new eXa(h,b,c,_.Qk,null,null,null),tWa(b,h,e))};_.Mn(a,"insert",g);_.Mn(a,"remove",g);a.forEach(g)},YR=function(a){return _.js()/(a.webkitBackingStorePixelRatio||a.mozBackingStorePixelRatio||a.msBackingStorePixelRatio||a.oBackingStorePixelRatio||a.backingStorePixelRatio|| 1)},fXa=function(a,b,c){a=a.mh;a.width=b;a.height=c;return a},gXa=function(a){const b=[];a.zj.forEach(c=>{b.push(c)});b.sort((c,d)=>c.zIndex-d.zIndex);return b},hXa=function(a){const b=gXa(a),c=a.getContext(),d=YR(c);a=a.fi.size;c.clearRect(0,0,Math.ceil(a.Th*d),Math.ceil(a.Uh*d));b.forEach(e=>{c.globalAlpha=_.Dm(e.opacity,1);c.drawImage(e.image,e.Gz,e.Iz,e.Fz,e.zz,Math.round(e.dx*d),Math.round(e.dy*d),e.Ar*d,e.xr*d)})},iXa=function(a,b,c){if(c.dx>a||c.dy>b||c.dx+c.Ar g.push(h));g.sort((h,k)=>k.zIndex-h.zIndex);c=null;for(e=0;d=g[e];++e){f=d.sw;if(f.clickable===!1)continue;f=f.QA;if(iXa(a.x,a.y,d)){c=f;break}}c&&(b.jk=d);return c},kXa=function(a,b){if(!b.NB){b.NB=!0;var c=_.Lr(a.get("projection")),d=b.uu;if(d){d.dx<-64||d.dy<-64||d.dx+d.Ar>64||d.dy+d.xr>64?(_.Eq(a.oh,b),d=a.nh.search(_.Bt)):(d=b.latLng,d=new _.Oo(d.lat(),d.lng()),b.jj=d,_.zM(a.ph,{jj:d,marker:b}),d=_.sGa(a.nh,d));for(let f=0,g=d.length;f{delete b.zj[c];d.fl.zj.remove(d)}))},mXa=function(a,b){a.tiles[_.eo(b)]=b;var c={ai:b.fj.x,bi:b.fj.y,ki:b.zoom};const d=_.Lr(a.get("projection"));var e=_.Vy(a.fi,c);e=new _.Oo(e.mh,e.nh);const {min:f,max:g}=_.DI(a.fi,c,64/a.fi.size.Th);c=_.Bp(f.mh,f.nh,g.mh,g.nh);_.vGa(c,d,e,(h,k)=>{h.FH=k;h.fl=b;b.aq[_.eo(h)]=h;_.xM(a.nh,h);const n=(a.ph.search(h)|| []).map(p=>p.marker);a.oh.forEach(p=>{n.push(p)});for(let p=0,r=n.length;p{b.zj.remove(c);delete c.sw.zj[_.eo(c)]}),_.vm(b.aq,(c,d)=>{a.nh.remove(d)}))},jXa=function(a,b,c,d,e){if(!(e&&c&&d.latLng&&b))return null;var f=e.fromLatLngToPoint(c);c=e.fromLatLngToPoint(d.latLng);if(!c||!f)return null;e=a.fi.size;a=_.ZBa(a.fi,new _.ar(c.x, c.y),new _.ar(f.x,f.y),b.zoom);c.x=a.ai*e.Th;c.y=a.bi*e.Uh;a=d.zIndex;_.Am(a)||(a=c.y);a=Math.round(a*1E3)+Number(_.eo(d))%1E3;f=d.uu;b={image:f.image,Gz:f.Gz,Iz:f.Iz,Fz:f.Fz,zz:f.zz,dx:f.dx+c.x,dy:f.dy+c.y,Ar:f.Ar,xr:f.xr,zIndex:a,opacity:d.opacity,fl:b,sw:d};return b.dx>e.Th||b.dy>e.Uh||b.dx+b.Ar<0||b.dy+b.xr<0?null:b},oXa=function(a){return typeof a==="string"?($R.has(a)||$R.set(a,{url:a}),$R.get(a)):a},uXa=function(a,b,c){const d=new _.xr,e=new _.xr,f=new pXa;new qXa(a,d,new IR,f,c);const g=_.rx(b.getDiv()).createElement("canvas"), h={};a=_.Bp(-100,-300,100,300);const k=new _.jN(a);a=_.Bp(-90,-180,90,180);const n=_.uGa(a,(w,y)=>w.marker===y.marker);let p=null,r=null;const t=new _.ip(null),v=b.__gm;v.nh.then(w=>{v.sh.register(new rXa(h,v,t,w.Mh.wk));_.qw(w.ys,y=>{if(y&&p!==y.fi){r&&r.unbindAll();var E=p=y.fi;r=new sXa(h,d,e,function(H,M){return new tXa(M,new aS(H,M,g,E),H)},k,n,p);r.bindTo("projection",b);t.set(r.mh())}})});_.HM(b,t,"markerLayer",-1)},wXa=function(a){a.Rt||(a.Rt=_.ZI(()=>{a.Rt=0;const b=a.Gv;a.Gv={};const c= a.Nw;for(const d of Object.values(b))vXa(a,d);c&&!a.Nw&&a.ju.forEach(d=>{vXa(a,d)})}))},vXa=function(a,b){var c=b.get("place");c=c?c.location:b.get("position");b.set("internalPosition",c);b.changed=a.EM;if(!b.get("animating"))if(a.oD.remove(b),!c||b.get("visible")==0||b.__gm&&b.__gm.Vo)a.ju.remove(b);else{a.Nw&&!a.vF&&a.ju.getSize()>=256&&(a.Nw=!1);c=b.get("optimized");const e=b.get("draggable"),f=!!b.get("animation");var d=b.get("icon");const g=!!d&&d.path!=null;d=DR(d);const h=b.get("label")!=null; a.vF||c==0||e||f||g||d||h||!c&&a.Nw?_.Eq(a.ju,b):(a.ju.remove(b),_.Eq(a.oD,b))}},xXa=function(a,b){const c=new _.rq;c.onAdd=()=>{};c.onContextLost=()=>{};c.onRemove=()=>{};c.onContextRestored=()=>{};c.onDraw=({transformer:d})=>{a.onDraw(d)};_.nu.add(c);c.setMap(b);return c},yXa=function(a){a.sh||(a.sh=setTimeout(()=>{const b=[...a.ph].filter(c=>!c.Op).length;b>0&&a.li.Fh(a.map,b);a.sh=0},0))},BXa=function(a,b){a.qh.has(b)||(a.qh.add(b),_.yz(_.xz(),()=>{if(a.map){var c=[];for(const d of a.qh){if(!d.map)continue; const e=d.targetElement;e.parentNode||c.push(d);const f=d.Vo!==!1&&bS(d)||d.bt,g=_.vo(a.map);g||(a.th||(a.th=a.nh.attachShadow({mode:_.Mq[166]?"open":"closed"}),a.th.append(a.rh,a.mh)),a.nh.append(e));g&&e.parentElement===g||!g&&e.parentElement===a.nh?e.setAttribute("slot",f?zXa:AXa):e.style.visibility=f?"hidden":"";d.Ym(!f);d.xw=!1}a.qh.clear();for(const d of c)d.Nz(!0)}}))},CXa=function(a){cS||(cS=new ResizeObserver(b=>{for(const c of b)c.target.dispatchEvent(new CustomEvent("marker-resize",{detail:c.contentRect}))})); cS.observe(a)},FXa=function(a,b){const c=_.Ka(b);let d=dS.get(c);d||(d=new DXa(b),dS.set(c,d));b=d;EXa(a,b.Xn);b.ph.add(a);yXa(b);CXa(a.targetElement)},GXa=function(a){a=_.Ka(a);(a=dS.get(a))&&a.requestRedraw()},HXa=function(a,b){b=_.Ka(b);(b=dS.get(b))&&BXa(b,a)},IXa=function(a){let b=0,c=0;for(const d of a)switch(d){case "ArrowLeft":--b;break;case "ArrowRight":b+=1;break;case "ArrowDown":c+=1;break;case "ArrowUp":--c}return{deltaX:b,deltaY:c}},fS=function(a,b,c=!0){a.mh.position=a.yh;eS(a,b,c)}, eS=function(a,b,c=!0){b.preventDefault();b.stopImmediatePropagation();gS(a);JXa(a);a.nh&&(a.nh.release(),a.nh=null);c&&hS(a.mh,"dragend",b)},iS=function(a,b){if(b){a.oh.style.display="";b=a.mh.anchorTop||"-100%";let c=a.mh.anchorLeft||"-50%";b==="0"&&(b="0px");c==="0"&&(c="0px");a.oh.style.left=`calc(-1 * ${c})`;a.oh.style.top=`calc(-1 * ${b})`}else a.oh.style.display="none"},LXa=function(a){a.oh.style.opacity="0.5";a.oh.style.position="absolute";iS(a,!1);a.oh.style.transform="translate(-50%, -50%)"; a.oh.style.zIndex="-1";KXa(a);const b=a.mh.Dp;b.addEventListener("pointerenter",a.Ch);b.addEventListener("pointerleave",a.Gh);b.addEventListener("focus",a.Ch);b.addEventListener("blur",a.Gh)},MXa=function(a,b=!1){return a.ph?_.Iz:b?"pointer":_.sma},jS=function(a){const b=a.mh.Bk;b&&b.appendChild(a.oh)},KXa=function(a){a.oh.children[0]?.remove();var b=a.mh,c;if(!(c=b.dragIndicator)){if(!b.Dv){const {url:d,scaledSize:e}=(new IR).mh;b.Dv=new Image(e.width,e.height);b.Dv.src=d;b.Dv.alt=""}c=b.Dv}a.oh.appendChild(c); jS(a)},OXa=function(a){if(!a.mh.JA){a.nh=new _.kN((c,d)=>{var e=a.mh;e.ui&&_.ao(e.ui,"panbynow",c,d)});_.EM(a.nh,!0);var b=NXa(a.mh);_.DM(a.nh,b);a.nh.ph=a.qh}},PXa=function(a,b){gS(a);a.qh=!1;a.nh&&(a.nh.ph=!1);a.rh=a.mh.ko();a.wh=_.aM(b)},QXa=function(a,b){var c=_.aM(b);if(c){b=c.clientX;c=c.clientY;var d=b-a.wh.clientX,e=c-a.wh.clientY;a.wh={clientX:b,clientY:c};b={clientX:a.rh.clientX+d,clientY:a.rh.clientY+e};a.rh=b;a.mh.dD(b)}},RXa=function(a,b){a.rh=a.mh.ko();a.yh=a.mh.position;a.wh=_.aM(b); a.ph=!0;OXa(a);a.mh.Dp.setAttribute("aria-grabbed","true");kS(a.mh);a.mh.Dp.style.zIndex="2147483647";a.oh.style.opacity="1";iS(a,!0);hS(a.mh,"dragstart",b)},SXa=function(a){a.qh&&(a.rh=a.mh.ko())},lS=function(a){const b=a.Ph;_.py!==2?(b.removeEventListener("pointermove",a.Ah),b.removeEventListener("pointerup",a.sh),b.removeEventListener("pointercancel",a.sh)):(b.removeEventListener("touchmove",a.Ah,{passive:!1}),b.removeEventListener("touchend",a.sh),b.removeEventListener("touchcancel",a.sh),b.removeEventListener("touchstart", a.sh));gS(a);JXa(a);a.nh&&(a.nh.release(),a.nh=null)},gS=function(a){const b=a.mh.Dp;b.removeEventListener("keydown",a.Xh);b.removeEventListener("keyup",a.Zh);b.removeEventListener("blur",a.Vh)},TXa=function(a){if(a.zh.size===0)a.xh=0;else{var {deltaX:b,deltaY:c}=IXa(a.zh),d=1;_.iM(a.Hh)&&(d=a.Hh.next());var e=Math.round(3*d*b);d=Math.round(3*d*c);e===0&&(e=b);d===0&&(d=c);e={clientX:a.rh.clientX+e,clientY:a.rh.clientY+d};a.rh=e;a.mh.dD(e);a.xh=window.setTimeout(()=>{TXa(a)},10)}},JXa=function(a){a.ph= !1;a.qh=!1;a.wh=null;a.rh=null;clearTimeout(a.xh);a.xh=0;a.yh=null;a.Fh=null;a.uh=null;const b=a.mh.Dp,c=a.mh.zIndex;a.oh.style.opacity="0.5";b.setAttribute("aria-grabbed","false");b.style.zIndex=c==null?"":`${c}`;UXa(a.mh)},EXa=function(a,b){a.MA=b;if(a.dv){var c=a.getAttribute("aria-describedby");c=c?c.split(" "):[];c.push(b);a.setAttribute("aria-describedby",c.join(" "))}},bS=function(a){return a.collisionBehavior!=="REQUIRED"&&!a.Ml&&!!a.map&&!!a.position},NXa=function(a){return a.ui?a.ui.get("pixelBounds"): null},hS=function(a,b,c){_.ao(a,b,new _.WB(a.Rp,c,a.nw?new _.Oo(a.nw.Th,a.nw.Uh):null))},kS=function(a){_.ao(a,"REMOVE_COLLISION")},UXa=function(a){a.style.cursor=a.Hj?MXa(a.Hj,a.ew):a.ew?"pointer":""},mS=function(a,b=!1){bS(a)&&(a.ui&&dWa(a.ui.Hh,a),_.ao(a,"UPDATE_MARKER_COLLISION"),b&&a.Bx&&_.ao(a,"UPDATE_BASEMAP_COLLISION"))},VXa=function(a){a.cq.then(()=>{_.Sr(a,"marker-view");a.style.position="absolute";a.style.left="0px"})},WXa=function(a){if(a.ln.get("isOpen")){var {width:b}=a.getBoundingClientRect(); a.ln.set("anchorPoint",new _.Oo(b?b/2:0,0))}},nS=function(a){a.style.pointerEvents=a.Uy?"none":a.YF?"auto":""},oS=function(a){a.zn=a.ew||!!a.dv},XXa=function(a,b=!1){if(a.bt||!a.Sk)a.ln.set("pixelPosition",null);else if(a.ln.get("isOpen"))if(b)requestAnimationFrame(()=>{const {offsetX:c,offsetY:d}=FR(a.Xx);a.ln.set("pixelPosition",new _.Oo(c,d))});else{const {offsetX:c,offsetY:d}=FR(a.Xx);a.ln.set("pixelPosition",new _.Oo(c,d))}},YXa=function(a,b){var c;if(c=a.Hj)c=a.Hj,c=c.uh&&b.timeStamp-c.uh>= 500?!0:c.th;if(!c&&a.Rp){a.gmpDraggable||a.focus();hS(a,"click",b);if(a.gmpClickable||_.Nn(a,"gmp-click"))c=new pS,_.ao(a,"gmp-click",c),a.dispatchEvent(c);a.li.th(b)}},ZXa=function(a){!a.xj&&a.map&&a.ui&&(a.iD=!0,a.xj=_.qy(a,{nl:({event:b,Gq:c})=>{a.YF?(_.fx(b.mh),b.button===3||c||YXa(a,b.mh)):a===b.mh.target||a.Uy||(console.debug('To make AdvancedMarkerElement clickable and provide better accessible experiences, use addListener() to register a "click" event on the AdvancedMarkerElement instance.'), a.li.wh(a.map))}}),a.bB=_.zma({draggable:a.JF,aF:new _.mC(a.map,"gestureHandling"),xl:a.ui.rm,rq:a}),_.qw(a.bB,a.yF),a.iD=!1)},qS=function(a){const b=c=>c.nodeType===Node.TEXT_NODE&&c.nodeValue!=null&&!/\S/.test(c.nodeValue);return a.childNodes.length>0?([...a.childNodes].every(b)&&_.Gn(_.iq(a,"AdvancedMarkerElement is displaying empty text content. If you want a pin to appear, make sure to remove any whitespace between the tags.")),[...a.childNodes]):a.kl&&a.kl.contains(a.pm)? [a.pm]:[]},$Xa=function(a,b,c){if(b&&c&&({altitude:b}=new _.Rp(b),b>0||b<0))throw a.li.xh(window),_.Wm("Draggable AdvancedMarkerElement with non-zero altitude is not supported");},rS=function(a){if(a.Mk){const b=_.Ka(a.Mk),c=dS.get(b);c&&(c.ph.delete(a),c.isEmpty()&&(c.dispose(),dS.delete(b)));cS&&cS.unobserve(a.targetElement);_.ao(a,"REMOVE_FOCUS");_.ao(a,"REMOVE_COLLISION");a.Mh&&(a.Kk&&(a.Mh.Pl(a.Kk),a.Kk=null),a.Mh=null);a.Hj&&lS(a.Hj);a.EE?.remove();a.aI?.remove();a.VG?.remove();a.vG?.remove(); a.bB?.removeListener(a.yF);a.xj&&(a.xj.remove(),a.xj=null);a.ln.set("map",null);a.Bx=null;a.ui=null;a.Mk=null;a.xw=!0}},sS=function(a){if(a.ui&&!a.Ml){var b=a.ui.Bh;b&&(a.zn&&a.Sk&&!a.Vo?b.Hh(a):_.ao(a,"REMOVE_FOCUS"))}},bYa=function(a){var b=a.ui.get("baseMapType");b=b&&(!b.mapTypeId||!Object.values(_.Vs).includes(b.mapTypeId));a.Bx=a.aG&&!b;if(!a.Op||a.position)a.Bx?GXa(a.map):aYa(a)},cYa=function(a){if(!a.Op){var b=a.ui.mh;b.bC.then(()=>{const c=_.nq(b,"ADVANCED_MARKERS");if(!c.isAvailable){a.ui&& a.ui.Zh();for(const d of c.mh)b.log(d);a.li.uh(a.map);a.dispose()}})}},dYa=function(a){a.li.Ch(a.map);a.li.ph(a.map,a.Uy);if(a.ew){const b=_.Nn(a,"gmp-click");a.li.nh(a.map,b)}a.gmpDraggable&&a.li.qh(a.map);a.title&&a.li.rh(a.map);a.zIndex!==null&&a.li.sh(a.map);a.Yl()>0&&a.li.mh(a.map);a.li.oh(a.map,a.collisionBehavior)},tS=function(a,b){a.Hj&&SXa(a.Hj);if(b){a.style.transform=`${`translate(${a.anchorLeft||"-50%"}, ${a.anchorTop||"-100%"})`} ${`translate(${b.x}px, ${b.y}px)`}`;const c=a.style.willChange? a.style.willChange.replace(/\s+/g,"").split(","):[];c.includes("transform")||_.yz(_.xz(),()=>{c.push("transform");a.style.willChange=c.join(",")},a,a)}a.ZD=b?Math.round(b.y):null;eYa(a);a.Sk=b;sS(a)},eYa=function(a){a.style.zIndex=a.Tz!=null?`${a.Tz}`:a.ZD!=null?`${a.ZD}`:""},aYa=function(a){var b=nWa(a.Mk,a.Rp);a.Kk?a.Kk.setPosition(b,a.Yl()):a.Mh&&(b=new _.mN(a.Mh.wk,a,b,a.Mh,null,a.Yl(),a.VK),a.Mh.Cj(b),a.Kk=b)};_.Oo.prototype.ez=_.da(17,function(){return Math.sqrt(this.x*this.x+this.y*this.y)}); var QWa=["click","dblclick","rightclick","contextmenu"],fYa=class extends _.fo{constructor(){super();this.constraint=0;this.mh=!1}position_changed(){this.mh||(this.mh=!0,this.set("rawPosition",this.get("position")),this.mh=!1)}rawPosition_changed(){if(!this.mh){this.mh=!0;var a=this.set,b;var c=this.get("rawPosition");if(c){(b=this.get("snappingCallback"))&&(c=b(c));b=c.x;c=c.y;var d=this.get("referencePosition");d&&(this.constraint===2?b=d.x:this.constraint===1&&(c=d.y));b=new _.Oo(b,c)}else b=null; a.call(this,"position",b);this.mh=!1}}},gYa=class{constructor(a,b,c,d,e=0,f=0){this.width=c;this.height=d;this.offsetX=e;this.offsetY=f;this.nh=new Float64Array(2);this.nh[0]=a;this.nh[1]=b;this.mh=new Float32Array(2)}transform(a){a.Wu(1,this.nh,this.mh,0,0,0);this.mh[0]+=this.offsetX;this.mh[1]+=this.offsetY}isVisible(a){return this.mh[0]>=-this.width&&this.mh[0]<=a.width+this.width&&this.mh[1]>=-this.height&&this.mh[1]<=a.height+this.height}equals(a){return this.nh[0]===a.nh[0]&&this.nh[1]===a.nh[1]&& this.width===a.width&&this.height===a.height&&this.offsetX===a.offsetX&&this.offsetY===a.offsetY}oh(a){return this.mh[0]>a.right||this.mh[0]+this.widtha.bottom||this.mh[1]+this.heighta,["ease-out"]:a=>1-Math.pow(a-1,2),["ease-in"]:a=>Math.pow(a,2)},uS=class{constructor(a){this.frames=a;this.mh=""}},HR;var LWa={[1]:{options:{duration:700,on:"infinite"},icon:new uS([{time:0,translate:[0,0],un:"ease-out"},{time:.5,translate:[0,-20],un:"ease-in"},{time:1,translate:[0,0],un:"ease-out"}])},[2]:{options:{duration:500,on:1},icon:new uS([{time:0,translate:[0,-500],un:"ease-in"},{time:.5,translate:[0,0],un:"ease-out"},{time:.75,translate:[0,-20],un:"ease-in"},{time:1,translate:[0,0],un:"ease-out"}])},[3]:{options:{duration:200,ez:20,on:1,NH:!1},icon:new uS([{time:0,translate:[0,0],un:"ease-in"},{time:1, translate:[0,-20],un:"ease-out"}])},[4]:{options:{duration:500,ez:20,on:1,NH:!1},icon:new uS([{time:0,translate:[0,-20],un:"ease-in"},{time:.5,translate:[0,0],un:"ease-out"},{time:.75,translate:[0,-10],un:"ease-in"},{time:1,translate:[0,0],un:"ease-out"}])}};var IR=class{constructor(){this.icon={url:_.ks("api-3/images/spotlight-poi3",!0),scaledSize:new _.So(26,37),origin:new _.Oo(0,0),anchor:new _.Oo(13,37),labelOrigin:new _.Oo(13,14)};this.nh={url:_.ks("api-3/images/spotlight-poi-dotless3",!0),scaledSize:new _.So(26,37),origin:new _.Oo(0,0),anchor:new _.Oo(13,37),labelOrigin:new _.Oo(13,14)};this.mh={url:_.ks("api-3/images/drag-cross",!0),scaledSize:new _.So(13,11),origin:new _.Oo(0,0),anchor:new _.Oo(7,6)};this.shape={coords:[13,0,4,3.5,0,12,2.75,21, 13,37,23.5,21,26,12,22,3.5],type:"poly"}}};var hYa=class extends _.fo{constructor(a,b){super();this.nh=a;this.mh=b;vS||(vS=new IR)}changed(a){a!=="modelIcon"&&a!=="modelShape"&&a!=="modelCross"&&a!=="modelLabel"||_.yz(_.xz(),this.oh,this,this)}oh(){const a=this.get("modelIcon");var b=this.get("modelLabel");vWa(this,"viewIcon",a||b&&vS.nh||vS.icon);vWa(this,"viewCross",vS.mh);b=this.get("useDefaults");let c=this.get("modelShape");c||a&&!b||(c=vS.shape);this.get("viewShape")!==c&&this.set("viewShape",c)}},vS;var iYa=class extends _.fo{constructor(){super();this.nh=!1;this.mh=wWa(this);this.set("shouldRender",this.mh)}changed(){if(!this.nh){var a=wWa(this);this.mh!==a&&(this.mh=a,this.nh=!0,this.set("shouldRender",this.mh),this.nh=!1)}}};var aXa=class extends _.fo{constructor(a){super();this.nh=a;this.mh=!1}internalPosition_changed(){if(!this.mh){this.mh=!0;var a=this.get("position"),b=this.get("internalPosition");a&&b&&!a.equals(b)&&this.set("position",this.get("internalPosition"));this.mh=!1}}draggable_changed(){if(!this.mh){this.mh=!0;if(this.nh){const a=this.get("place");a?this.set("internalPosition",a.location):this.set("internalPosition",this.get("position"))}this.get("place")?this.set("actuallyDraggable",!1):this.set("actuallyDraggable", this.get("draggable"));this.mh=!1}}position_changed(){this.draggable_changed()}place_changed(){this.draggable_changed()}};var HWa=class{constructor(a,b,c,d,e){this.xm=a;this.label=b;this.opacity=c;this.visible=d;this.origin=void 0;this.zIndex=0;this.ph=this.qh=this.mh=null;this.nh=new _.Bq(this.rh,0,this);this.oh=e;this.xm=a;this.label=b;this.opacity=c;this.visible=d}setOpacity(a){this.opacity=a;this.nh.si()}setLabel(a){this.label=a;this.nh.si()}setVisible(a){this.visible=a;this.nh.si()}setZIndex(a){this.zIndex=a;this.nh.si()}release(){this.xm=null;JR(this)}rh(){if(this.xm&&this.label&&this.visible!==!1){var a=this.xm.markerLayer, b=this.label;this.mh?a.appendChild(this.mh):(this.mh=document.createElement("div"),a.appendChild(this.mh),this.mh.style.transform="translateZ(0)");a=this.mh;this.origin&&_.vx(a,this.origin);var c=a.firstElementChild;c||(c=document.createElement("div"),a.appendChild(c),c.style.height="100px",c.style.transform="translate(-50%, -50px)",c.style.display="table",c.style.borderSpacing="0");let d=c.firstElementChild;d||(d=document.createElement("div"),c.appendChild(d),d.style.display="table-cell",d.style.verticalAlign= "middle",d.style.whiteSpace="nowrap",d.style.textAlign="center");c=d.firstElementChild||_.wx("div",d);c.textContent=b.text;c.style.color=b.color;c.style.fontSize=b.fontSize;c.style.fontWeight=b.fontWeight;c.style.fontFamily=b.fontFamily;c.className=b.className;c.setAttribute("aria-hidden","true");if(this.oh&&b!==this.ph){this.ph=b;const {width:e,height:f}=c.getBoundingClientRect();b=new _.So(e,f);b.equals(this.qh)||(this.qh=b,this.oh(b))}_.hJ(c,_.Dm(this.opacity,1));_.xx(a,this.zIndex)}else JR(this)}};var CWa=class{constructor(a,b,c){this.element=a;this.animation=b;this.options=c;this.nh=!1;this.mh=null}start(){this.options.on=this.options.on||1;this.options.duration=this.options.duration||1;_.Vn(this.element,"webkitAnimationEnd",()=>{this.nh=!0;_.ao(this,"done")});yWa(this.element,rWa(this.animation),this.options)}cancel(){this.mh&&(this.mh.remove(),this.mh=null);yWa(this.element,null,{});_.ao(this,"done")}stop(){this.nh||(this.mh=_.Vn(this.element,"webkitAnimationIteration",()=>{this.cancel()}))}};var KR=[],LR=null,DWa=class{constructor(a,b,c){this.element=a;this.animation=b;this.on=-1;this.mh=!1;this.startTime=0;c.on!=="infinity"&&(this.on=c.on||1);this.duration=c.duration||1E3}start(){KR.push(this);LR||(LR=window.setInterval(zWa,10));this.startTime=Date.now();this.tick()}cancel(){this.mh||(this.mh=!0,BWa(this,1),_.ao(this,"done"))}stop(){this.mh||(this.on=1)}tick(){if(!this.mh){var a=Date.now();BWa(this,(a-this.startTime)/this.duration);a>=this.startTime+this.duration&&(this.startTime=Date.now(), this.on!=="infinite"&&(this.on--,this.on||this.cancel()))}}};var jYa=_.ya.DEF_DEBUG_MARKERS,wS=class extends _.fo{constructor(a,b,c){super();this.qh=this.mh=null;this.Vh=[];this.Nh=!1;this.targetElement=null;this.Ph=!1;this.ph=null;this.elements=[];this.zh=!0;this.wh=0;this.oh=this.Qh=this.Zh=this.Xh=null;this.Ah=!1;this.element=this.th=this.xj=this.sh=this.uh=this.xh=null;this.Bh=!1;this.uq=null;this.rh=new _.Bq(()=>{var d=this.get("panes"),e=this.get("scale");if(!d||!this.getPosition()||this.getVisible()===!1||_.Am(e)&&e<.1&&!this.Ml)PR(this);else{GWa(this, d.markerLayer);if(!this.wh){var f=this.getIcon();if(f){var g=f.url;e=QR(this);var h=this.getDraggable(),k=this.get("title")||"",n=k;n||(n=(n=this.getLabel())?n.text:"");if(e||h||n){var p=!e&&!h&&!k,r=DR(f),t=TR(f),v=this.get("shape"),w=ER(f),y={};if(_.zx())f=w.width,w=w.height,r=new _.So(f+16,w+16),f={url:_.TB,size:r,anchor:t?new _.Oo(t.x+8,t.y+8):new _.Oo(Math.round(f/2)+8,w+8),scaledSize:r};else{const E=f.scaledSize||w;(_.Oq.qh||_.Oq.mh)&&v&&(y.shape=v,w=E);if(!r||v)f={url:_.TB,size:w,anchor:t, scaledSize:E}}t=f.url!=null;this.Ph===t&&OR(this);this.Ph=!t;y=this.targetElement=RR(this,this.getPanes().overlayMouseTarget,this.targetElement,f,y);this.targetElement.style.pointerEvents=p?"none":"";if(p=y.querySelector("img"))p.style.removeProperty("position"),p.style.removeProperty("opacity"),p.style.removeProperty("left"),p.style.removeProperty("top");t=y;p=null;(f=t.getAttribute("usemap")||t.firstChild&&t.firstChild.getAttribute("usemap"))&&f.length&&(t=_.rx(t).getElementById(f.substring(1)))&& (p=t.firstChild);p&&(p.tabIndex=-1,p.style.display="inline",p.style.position="absolute",p.style.left="0px",p.style.top="0px");jYa&&(y.dataset.debugMarkerImage=g);y=p||y;y.title=k;n&&this.yq().setAttribute("aria-label",n);this.gx();h&&!this.sh&&(g=this.sh=new _.UHa(y,this.Fh,this.targetElement),this.Fh?(g.bindTo("deltaClientPosition",this),g.bindTo("position",this)):g.bindTo("position",this.yh,"rawPosition"),g.bindTo("containerPixelBounds",this,"mapPixelBounds"),g.bindTo("anchorPoint",this),g.bindTo("size", this),g.bindTo("panningEnabled",this),this.xh||(this.xh=[_.$n(g,"dragstart",this),_.$n(g,"drag",this),_.$n(g,"dragend",this),_.$n(g,"panbynow",this)]));g=this.get("cursor")||"pointer";h?this.sh.set("draggableCursor",g):y.style.cursor=e?g:"";OWa(this,y)}}}d=d.overlayLayer;if(h=e=this.get("cross"))h=this.get("crossOnDrag"),h===void 0&&(h=this.get("raiseOnDrag")),h=h!==!1&&this.getDraggable()&&this.Ml;h?this.ph=RR(this,d,this.ph,e):(this.ph&&_.Dx(this.ph),this.ph=null);this.elements=[this.mh,this.ph, this.targetElement];KWa(this);for(e=0;e{_.Cq(this.rh)})];this.getPosition=_.Fo("position");this.getPanes=_.Fo("panes");this.getVisible=_.Fo("visible");this.getIcon=_.Fo("icon");this.getLabel=_.Fo("label")}YG(){}get zn(){return this.Bh}set zn(a){this.Bh!==a&&(this.Bh=a,_.ao(this,"UPDATE_FOCUS"))}get Ml(){return this.get("dragging")}panes_changed(){PR(this);this.rh.si()}ip(a){this.set("position",a&&new _.Oo(a.Th,a.Uh))}At(){this.unbindAll(); this.set("panes",null);this.oh&&this.oh.stop();this.uh&&(_.On(this.uh),this.uh=null);this.oh=null;NR(this.Lh);this.Lh=[];PR(this);_.ao(this,"RELEASED")}Gh(){var a;if(!(a=this.Xh!==QR(this)||this.Zh!==this.getDraggable())){a=this.Qh;var b=this.get("shape");a=!(a==null||b==null?a===b:a.type===b.type&&_.HI(a.coords,b.coords))}a&&(this.Xh=QR(this),this.Zh=this.getDraggable(),this.Qh=this.get("shape"),OR(this),this.rh.si())}nh(){this.rh.si()}position_changed(){this.Fh?_.Cq(this.rh):this.rh.si()}yq(){return this.targetElement}gx(){const a= this.yq();if(a){var b=!!this.get("title");b||(b=(b=this.getLabel())?!!b.text:!1);this.zn?a.setAttribute("role","button"):b?a.setAttribute("role","img"):a.removeAttribute("role")}}Gy(a){_.ao(this,"click",a);_.N(window,171149)}It(){}Ts(a){_.fx(a);_.ao(this,"click",a);_.N(window,171150)}Fy(){}getDraggable(){return!!this.get("draggable")}mi(){this.set("dragging",!0);this.yh.set("snappingCallback",this.Hh)}ci(){this.yh.set("snappingCallback",null);this.set("dragging",!1)}animation_changed(){this.zh=!1; this.get("animation")?MWa(this):(this.set("animating",!1),this.oh&&this.oh.stop())}XF(a){const b=this.get("markerPosition");return this.uq&&b&&this.uq.size?jWa(a,this.targetElement):!1}};_.z=wS.prototype;_.z.shape_changed=wS.prototype.Gh;_.z.clickable_changed=wS.prototype.Gh;_.z.draggable_changed=wS.prototype.Gh;_.z.cursor_changed=wS.prototype.nh;_.z.scale_changed=wS.prototype.nh;_.z.raiseOnDrag_changed=wS.prototype.nh;_.z.crossOnDrag_changed=wS.prototype.nh;_.z.zIndex_changed=wS.prototype.nh; _.z.opacity_changed=wS.prototype.nh;_.z.title_changed=wS.prototype.nh;_.z.cross_changed=wS.prototype.nh;_.z.icon_changed=wS.prototype.nh;_.z.visible_changed=wS.prototype.nh;_.z.dragging_changed=wS.prototype.nh;var UWa="click dblclick mouseup mousedown mouseover mouseout rightclick dragstart drag dragend contextmenu".split(" "),eXa=class{constructor(a,b,c,d,e,f,g){this.marker=a;this.nh=b;this.Mh=e;this.Ah=f;this.ph=g;this.xh=!0;this.yh=this.zh=null;this.rh=[];this.wh=b instanceof _.uo;f=UR(this);b=this.wh&&f?_.Ix(f,b.getProjection()):null;this.mh=new wS(d,!!this.wh,h=>{this.mh.uq=a.__gm.uq={...a.__gm.uq,kR:h};a.__gm.oy&&a.__gm.oy()});_.Mn(this.mh,"RELEASED",()=>{var h=this.mh;if(this.ph&&this.ph.has(h)){({uF:h}= this.ph.get(h));for(const k of h)k.remove()}this.ph&&this.ph.delete(this.mh)});this.Ah&&this.ph&&!this.ph.has(this.mh)&&(this.ph.set(this.mh,{marker:this.marker,uF:[]}),this.Ah.Ah(this.mh),VR(this,this.mh),RWa(this,this.mh));(this.qh=this.wh?new _.mN(e.wk,this.mh,b,e,()=>{if(this.mh.get("dragging")&&!this.marker.get("place")){var h=this.qh.getPosition();h&&(h=_.Mr(h,this.nh.get("projection")),this.xh=!1,this.marker.set("position",h),this.xh=!0)}}):null)&&e.Cj(this.qh);this.sh=new hYa(c,(h,k,n)=>{this.mh.uq= a.__gm.uq={...a.__gm.uq,size:h,anchor:k,labelOrigin:n};a.__gm.oy&&a.__gm.oy()});this.oh=this.wh?null:new _.$M;this.th=this.wh?null:new iYa;this.uh=new _.fo;this.uh.bindTo("position",this.marker);this.uh.bindTo("place",this.marker);this.uh.bindTo("draggable",this.marker);this.uh.bindTo("dragging",this.marker);this.sh.bindTo("modelIcon",this.marker,"icon");this.sh.bindTo("modelLabel",this.marker,"label");this.sh.bindTo("modelCross",this.marker,"cross");this.sh.bindTo("modelShape",this.marker,"shape"); this.sh.bindTo("useDefaults",this.marker,"useDefaults");this.mh.bindTo("icon",this.sh,"viewIcon");this.mh.bindTo("label",this.sh,"viewLabel");this.mh.bindTo("cross",this.sh,"viewCross");this.mh.bindTo("shape",this.sh,"viewShape");this.mh.bindTo("title",this.marker);this.mh.bindTo("cursor",this.marker);this.mh.bindTo("dragging",this.marker);this.mh.bindTo("clickable",this.marker);this.mh.bindTo("zIndex",this.marker);this.mh.bindTo("opacity",this.marker);this.mh.bindTo("anchorPoint",this.marker);this.mh.bindTo("markerPosition", this.marker,"position");this.mh.bindTo("animation",this.marker);this.mh.bindTo("crossOnDrag",this.marker);this.mh.bindTo("raiseOnDrag",this.marker);this.mh.bindTo("animating",this.marker);this.th||this.mh.bindTo("visible",this.marker);SWa(this);TWa(this);VWa(this);this.wh?(WWa(this),XWa(this),ZWa(this)):($Wa(this),this.oh&&(this.th.bindTo("visible",this.marker),this.th.bindTo("cursor",this.marker),this.th.bindTo("icon",this.marker),this.th.bindTo("icon",this.sh,"viewIcon"),this.th.bindTo("mapPixelBoundsQ", this.nh.__gm,"pixelBoundsQ"),this.th.bindTo("position",this.oh,"pixelPosition"),this.mh.bindTo("visible",this.th,"shouldRender")),bXa(this))}dispose(){this.mh.set("animation",null);this.mh.At();this.Mh&&this.qh?this.Mh.Pl(this.qh):this.mh.At();this.th&&this.th.unbindAll();this.oh&&this.oh.unbindAll();this.sh.unbindAll();this.uh.unbindAll();this.rh.forEach(_.On);this.rh.length=0}};var aS=class{constructor(a,b,c,d){this.div=a;this.zj=b;this.mh=c;this.fi=d}getContext(){if(!this.context){const a=this.div,b=a.ownerDocument.createElement("canvas");_.Uq(b);b.style.position="absolute";b.style.top=b.style.left="0";const c=b.getContext("2d"),d=YR(c),e=this.fi.size;b.width=Math.ceil(e.Th*d);b.height=Math.ceil(e.Uh*d);b.style.width=_.Jm(e.Th);b.style.height=_.Jm(e.Uh);a.appendChild(b);this.context=c}return this.context}qE(a){const b=gXa(this),c=this.getContext(),d=YR(c),e=Math.round(a.dx* d),f=Math.round(a.dy*d),g=Math.ceil(a.Ar*d);a=Math.ceil(a.xr*d);const h=fXa(this,g,a),k=h.getContext("2d");k.translate(-e,-f);b.forEach(n=>{k.globalAlpha=_.Dm(n.opacity,1);k.drawImage(n.image,n.Gz,n.Iz,n.Fz,n.zz,Math.round(n.dx*d),Math.round(n.dy*d),n.Ar*d,n.xr*d)});c.clearRect(e,f,g,a);c.globalAlpha=1;c.drawImage(h,e,f)}};aS.prototype.iN=aS.prototype.qE;var pXa=class{constructor(){this.mh=_.XI().mh}load(a,b){return this.mh.load(new _.wL(a.url),c=>{if(c){var d=c.size,e=a.size||a.scaledSize||d;a.size=e;var f=a.scaledSize||d,g=a.anchor||new _.Oo(e.width/2,e.height),h=f.width/d.width,k=f.height/d.height,n=a.origin?a.origin.x/h:0,p=a.origin?a.origin.y/k:0,r=-g.x;g=-g.y;var t=e.width/h,v=e.width,w=e.height/k,y=e.height;n*h+e.width>f.width&&(t=d.width-n*h,v=f.width);p*k+e.height>f.height&&(w=d.height-p*k,y=f.height);b({image:c,Gz:n,Iz:p,Fz:t,zz:w,dx:r, dy:g,Ar:v,xr:y})}else b(null)})}cancel(a){this.mh.cancel(a)}};var rXa=class{constructor(a,b,c,d){this.mh=b;this.nh=c;this.zIndex=40;this.oh=new _.nN(a,d,c)}Gt(a){return a!=="dragstart"&&a!=="drag"&&a!=="dragend"}Ot(a,b){return b?ZR(this,a,-8,0)||ZR(this,a,0,-8)||ZR(this,a,8,0)||ZR(this,a,0,8):ZR(this,a,0,0)}handleEvent(a,b,c){const d=b.jk;if(a==="mouseout")this.mh.set("cursor",""),this.mh.set("title",null);else if(a==="mouseover"){var e=d.sw;this.mh.set("cursor",e.cursor);(e=e.title)&&this.mh.set("title",e)}let f;d&&a!=="mouseout"?f=d.sw.latLng:f=b.latLng;a=== "dblclick"&&_.Kn(b.domEvent);_.ao(c,a,new _.WB(f,b.domEvent))}};var sXa=class extends _.Ar{constructor(a,b,c,d,e,f,g){super();this.tiles=a;this.qh=d;this.oh=c;this.nh=e;this.ph=f;this.fi=g||_.gC;b.mh=h=>{kXa(this,h)};b.onRemove=h=>{lXa(this,h)};b.forEach(h=>{kXa(this,h)})}mh(){return{fi:this.fi,sm:2,vl:this.vl.bind(this)}}vl(a,b={}){const c=document.createElement("div"),d=this.fi.size;c.style.width=`${d.Th}px`;c.style.height=`${d.Uh}px`;c.style.overflow="hidden";a={div:c,zoom:a.ki,fj:new _.Oo(a.ai,a.bi),aq:{},zj:new _.xr};c.fl=a;mXa(this,a);let e=!1;return{Qj:()=> c,mn:()=>e,loaded:new Promise(f=>{_.Xn(c,"load",()=>{e=!0;f()})}),release:()=>{const f=c.fl;c.fl=null;nXa(this,f);c.textContent="";b.ak&&b.ak()}}}};var tXa=class{constructor(a,b,c){this.nh=b;this.timeout=null;this.mh=!1;this.oh=0;this.zj=a;const d=this;a.mh=e=>{d.Sq(e,!0)};a.onRemove=e=>{d.onRemove(e)};this.div=c;a.getSize()?(this.mh=!0,this.ep()):queueMicrotask(()=>{_.ao(c,"load")})}onRemove(a){this.Sq(a,!1)}Sq(a,b){this.oh++<4?b?this.nh.qE(a):this.nh.iN(a):this.mh=!0;this.timeout||(this.timeout=_.ZI(this.ep.bind(this)))}ep(){this.mh&&hXa(this.nh);this.mh=!1;this.timeout=null;this.oh=0;queueMicrotask(()=>{_.ao(this.div,"load")})}};var qXa=class{constructor(a,b,c,d,e){var f=oXa;this.markers=a;this.nh=b;this.mh=c;this.qh=f;this.ph=d;this.oh=e;this.markers.mh=g=>{this.Fu(g)};this.markers.onRemove=g=>{this.Ew(g)}}Fu(a){var b=a.get("internalPosition"),c=a.get("zIndex");const d=a.get("opacity"),e=a.__gm.My={QA:a,latLng:b,zIndex:c,opacity:d,zj:{}};b=a.get("useDefaults");c=a.get("icon");const f=a.get("shape")||c&&!b?a.get("shape"):this.mh.shape,g=c?this.qh(c):this.mh.icon,h=iWa(()=>{e===a.__gm.My&&(e.uu||e.yH)&&this.vm(a,e,g,f)}); g.url?this.ph.load(g,k=>{e.uu=k;h()}):(e.yH=this.oh(g),h())}Ew(a){this.nh.remove(a.__gm.My);a.__gm.My=null}vm(a,b,c,d){if(b.uu){c=c.size;var e=a.get("anchorPoint");if(!e||e.mh)e=new _.Oo(b.uu.dx+c.width/2,b.uu.dy),e.mh=!0,a.set("anchorPoint",e)}else c=b.yH.size;d?d.coords=d.coords||d.coord:d={type:"rect",coords:[0,0,c.width,c.height]};b.shape=d;b.clickable=a.get("clickable");b.title=a.get("title")||null;b.cursor=a.get("cursor")||"pointer";_.Eq(this.nh,b)}};var $R=new Map;var kYa=class{constructor(a,b,c,d){this.Gv={};this.Rt=0;this.Nw=!0;const e=this;this.oD=b;this.ju=c;this.vF=d;const f={animating:1,animation:1,attribution:1,clickable:1,cursor:1,draggable:1,flat:1,icon:1,label:1,opacity:1,optimized:1,place:1,position:1,shape:1,__gmHiddenByCollision:1,title:1,visible:1,zIndex:1};this.EM=function(g){g in f&&(delete this.changed,e.Gv[_.eo(this)]=this,wXa(e))};a.mh=g=>{e.Fu(g)};a.onRemove=g=>{e.Ew(g)};a=a.elements;for(const g of Object.values(a))this.Fu(g)}Fu(a){this.Gv[_.eo(a)]= a;wXa(this)}Ew(a){delete a.changed;delete this.Gv[_.eo(a)];this.oD.remove(a);this.ju.remove(a)}};var pS=class extends Event{constructor(){super("gmp-click",{bubbles:!0,composed:!0})}};var lYa=class{Ch(){}zh(){}nh(){}oh(){}ph(){}uh(){}xh(){}sh(){}qh(){}rh(){}wh(){}yh(){}mh(){}Ah(){}Bh(){}Gh(){}Fh(){}th(){}};var mYa=(0,_.Xi)`.yNHHyP-marker-view .IPAZAH-content-container\u003e*{pointer-events:none}.yNHHyP-marker-view .IPAZAH-content-container.HJDHPx-interactive\u003e*{pointer-events:auto}\n`;var AXa=eWa("visible-gmp-advanced-markers"),zXa=eWa("hidden-gmp-advanced-markers"),DXa=class{constructor(a){this.li=nYa;this.rp=null;this.wh=!1;this.th=null;this.sh=0;this.uh=null;this.map=a;this.ph=new Set;this.qh=new Set;this.Xn=`maps-aria-${_.to()}`;this.oh=document.createElement("span");this.oh.id=this.Xn;this.oh.textContent="To activate drag with keyboard, press Alt + Enter. Once in keyboard drag state, use the arrow keys to move the marker. To complete the drag, press the Enter key. To cancel, press Escape."; this.oh.style.display="none";this.rh=document.createElement("div");this.mh=document.createElement("div");CSS.supports("content-visibility: hidden")?this.mh.style.contentVisibility="hidden":this.mh.style.visibility="hidden";var b=document.createElement("slot");b.setAttribute("name",AXa);this.rh.appendChild(b);b=document.createElement("slot");b.setAttribute("name",zXa);this.mh.appendChild(b);this.nh=document.createElement("div");this.nh.append(this.rh,this.mh);const c=a.__gm;this.yh=c.vq;this.xh=new Promise(d=> {c.oh.then(e=>{this.map&&(e&&(this.rp=xXa(this,a)),this.wh=!0);d()})});_.Wu(mYa,this.map.getDiv());Promise.all([c.nh,this.xh]).then(([{xm:d}])=>{this.map&&d.overlayMouseTarget.append(this.oh,this.nh);this.uh=c.addListener("panes_changed",e=>{this.map&&e.overlayMouseTarget.append(this.oh,this.nh)})})}dispose(){this.rp&&(this.rp.setMap(null),this.rp=null);this.uh&&this.uh.remove();this.oh.remove();this.mh.remove();this.rh.remove();this.nh.remove();this.mh.textContent="";this.rh.textContent="";this.ph.clear(); this.qh.clear();this.map=null}isEmpty(){return this.ph.size===0}requestRedraw(){this.wh?this.rp&&this.rp.requestRedraw():this.xh.then(()=>{this.rp&&this.rp.requestRedraw()})}onDraw(a){if(this.map){var b=this.yh.offsetWidth,c=this.yh.offsetHeight,d=_.$q(this.map.getZoom()||1,this.map.getTilt()||0,this.map.getHeading()||0);for(const h of this.ph.values()){a:{var e=h.VL;var f=this.map.getCenter();if(!e||!f){e=null;break a}f=_.ym(f.lng(),-180,180);var g=_.ym(e.lng,-180,180);f>0&&g f+180&&(g-=360);e=new _.Rp({altitude:e.altitude,lat:e.lat,lng:g},!0)}if(!e){h.ip(null,d);continue}f=a.fromLatLngAltitude(e);e=g=[0,0,0];const [k,n,p]=e,r=1/(f[3]*k+f[7]*n+f[11]*p+f[15]);e[0]=(f[0]*k+f[4]*n+f[8]*p+f[12])*r;e[1]=(f[1]*k+f[5]*n+f[9]*p+f[13])*r;e[2]=(f[2]*k+f[6]*n+f[10]*p+f[14])*r;const {ML:t,zO:v}={ML:f[14]<0&&f[15]<0,zO:g};t?h.ip(null,d):h.ip({Th:GR(v[0]/2*b),Uh:GR(-v[1]/2*c)},d,{Th:b,Uh:c})}}}};var dS=new Map,nYa=new class extends lYa{Ch(a){a&&a&&_.N(a,181191)}zh(a){if(a){var b=a.getRenderingType();b!=="UNINITIALIZED"&&a&&_.N(a,159713);b==="RASTER"?a&&_.N(a,157416):b==="VECTOR"&&a&&_.N(a,157417)}}nh(a,b=!1){a&&_.N(a,158896);b&&a&&_.N(a,185214)}oh(a,b){b&&(b!=="REQUIRED"&&a&&_.N(a,160097),b==="REQUIRED_AND_HIDES_OPTIONAL"?a&&_.N(a,160098):b==="OPTIONAL_AND_HIDES_LOWER_PRIORITY"&&a&&_.N(a,160099))}ph(a,b){b?a&&_.N(a,159404):a&&_.N(a,159405)}uh(a){a&&_.N(a,159484)}xh(a){a&&_.N(a,160438)}sh(a){a&& _.N(a,159521)}qh(a){a&&_.N(a,160103)}rh(a){a&&_.N(a,159805)}wh(a){a&&_.N(a,159490)}yh(a){a&&_.N(a,159812)}mh(a){a&&_.N(a,159609)}Ah(a){a&&_.N(a,160122)}Bh(a){a&&_.N(a,160106)}Gh(a){a&&_.N(a,160478)}Fh(a,b){const c=[{threshold:1E4,Gp:160636},{threshold:5E3,Gp:160635},{threshold:2E3,Gp:160634},{threshold:1E3,Gp:160633},{threshold:500,Gp:160632},{threshold:200,Gp:160631},{threshold:100,Gp:160630},{threshold:50,Gp:159732},{threshold:10,Gp:160629},{threshold:1,Gp:160628}];for(const {threshold:d,Gp:e}of c)if(b>= d){a&&_.N(a,e);break}}th(a){window&&_.N(window,a instanceof KeyboardEvent?171152:171153)}},oYa=new lYa,cS=null;var pYa=class{constructor(a){this.mh=a;this.Ph=document;this.qh=this.ph=!1;this.uh=this.nh=this.rh=this.wh=this.yh=this.Fh=null;this.xh=0;this.Hh=null;this.Nh=b=>{this.Ht(b)};this.Qh=b=>{b.touches.length===1&&this.Ht(b)};this.Lh=b=>{b.preventDefault();b.stopImmediatePropagation()};this.Bh=b=>{if(this.qh||this.th||oWa(b,this.Fh))this.th=!0};a=this.mh.Dp;_.py!==2?(a.addEventListener("pointerdown",this.Nh),a.addEventListener("pointermove",this.Bh)):(a.addEventListener("touchstart",this.Qh,{passive:!1}), a.addEventListener("touchmove",this.Bh,{passive:!1}));a.addEventListener("mousedown",this.Lh);this.Ah=b=>{b.preventDefault();b.stopImmediatePropagation();this.qh?PXa(this,b):this.ph?(QXa(this,b),hS(this.mh,"drag",b)):(RXa(this,b),b=this.mh,b.li.Gh(b.map))};this.sh=b=>{this.uh&&b.timeStamp-this.uh>=500&&(!this.ph||this.qh)?(this.qh?PXa(this,b):(RXa(this,b),b=this.mh,b.li.Bh(b.map),b.Op&&_.ao(b,"longpressdragstart")),this.th=!0):(this.ph&&(this.qh||this.th||oWa(b,this.Fh))&&(this.th=!0),this.qh&&eS(this, b),b.type==="touchend"&&iS(this,!1),this.ph?(b.stopImmediatePropagation(),QXa(this,b),lS(this),mS(this.mh,!0),hS(this.mh,"dragend",b)):lS(this))};this.Xh=b=>{this.ci(b)};this.Zh=b=>{this.mi(b)};this.Vh=b=>{fS(this,b)};this.ci=b=>{if(b.altKey&&(_.Az(b)||b.key===_.Hpa))fS(this,b);else if(!b.altKey&&_.Az(b))this.th=!0,eS(this,b);else if(_.Bz(b)||_.Dz(b)||_.Cz(b)||_.Ez(b))b.preventDefault(),this.zh.add(b.key),this.xh||(this.Hh=new _.AM(100),TXa(this)),hS(this.mh,"drag",b);else if(b.code==="Equal"||b.code=== "Minus"){var c=this.mh;b=b.code==="Equal"?1:-1;const d=nWa(c.Mk,c.Rp);d&&c.Mh.ZH(b,d)}};this.mi=b=>{(_.Bz(b)||_.Dz(b)||_.Cz(b)||_.Ez(b))&&this.zh.delete(b.key)};this.Ch=()=>{iS(this,!0)};this.Gh=()=>{this.ph||iS(this,!1)};this.oh=document.createElement("div");LXa(this);this.th=!1;this.zh=new Set}Nz(a){this.nh&&_.BM(this.nh,a)}Ht(a){this.th=!1;if(this.mh.gmpDraggable&&(a.button===0||a.type==="touchstart")){const b=this.mh.Dp;b.focus();const c=_.rx(a.target)||document;this.Ph=c;_.py!==2||a.preventDefault(); a.stopImmediatePropagation();this.uh=a.timeStamp;_.py!==2?(c.addEventListener("pointermove",this.Ah),c.addEventListener("pointerup",this.sh),c.addEventListener("pointercancel",this.sh)):(c.addEventListener("touchmove",this.Ah,{passive:!1}),c.addEventListener("touchend",this.sh),c.addEventListener("touchcancel",this.sh),c.addEventListener("touchstart",this.sh));this.ph||(this.Fh=_.aM(a));b.style.cursor=_.Iz}}Gy(){this.ph||(this.th=!1)}It(a){if(this.mh.gmpDraggable&&!this.qh&&!this.ph){var b=this.mh.Dp; b.addEventListener("keydown",this.Xh);b.addEventListener("keyup",this.Zh);b.addEventListener("blur",this.Vh);this.rh=this.mh.ko();this.yh=this.mh.position;this.qh=this.ph=!0;OXa(this);b=this.mh.Dp;b.setAttribute("aria-grabbed","true");kS(this.mh);b.style.zIndex="2147483647";this.oh.style.opacity="1";hS(this.mh,"dragstart",a);a=this.mh;a.li.Ah(a.map)}}Fy(a,b=!0){this.qh?fS(this,a,b):this.ph&&(this.mh.position=this.yh,a.stopImmediatePropagation(),lS(this),b&&hS(this.mh,"dragend",a))}Ml(){return this.ph}dispose(){lS(this); const a=this.mh.Dp;_.py!==2?(a.removeEventListener("pointerdown",this.Nh),a.removeEventListener("pointermove",this.Bh)):(a.removeEventListener("touchstart",this.Qh,{passive:!1}),a.removeEventListener("touchmove",this.Bh,{passive:!1}));a.removeEventListener("mousedown",this.Lh);a.removeEventListener("pointerenter",this.Ch);a.removeEventListener("pointerleave",this.Gh);a.removeEventListener("focus",this.Ch);a.removeEventListener("blur",this.Gh);this.oh.remove()}};var xS=!1,yS=class extends _.lu{set anchorTop(a){this.IL=this.Jh("anchorTop",_.ct,a);tS(this,this.Sk);mS(this,!0)}get anchorTop(){return this.IL}set anchorLeft(a){this.HL=this.Jh("anchorLeft",_.ct,a);tS(this,this.Sk);mS(this,!0)}get anchorLeft(){return this.HL}constructor(a={}){super(a);this.Dv=this.xj=this.Hj=null;this.MA="";this.Ol=this.nw=this.YD=this.Mh=this.Kk=this.kl=null;this.VD=!1;this.Rz=null;this.FC=this.aG=this.Sz=this.XD=!1;this.ui=this.Bx=this.vG=this.VG=this.aI=this.EE=null;this.UD= void 0;this.dv=this.WD=!1;this.JF=_.jp(!1);this.Rp=this.ev=this.bB=null;this.os="";this.Mk=this.ZD=this.Tz=void 0;this.wA=this.xA=!0;this.LB=this.iD=!1;this.xw=!0;document.createElement("div");VXa(this);this.targetElement=this;this.Dp=this;this.Op=xS;Object.defineProperties(this,{Op:{value:xS,writable:!1}});this.li=this.Op?oYa:nYa;this.addEventListener("focus",e=>{this.pB(e)},!0);this.addEventListener("marker-resize",()=>{WXa(this);mS(this,!0)});this.pm=new _.sC;this.Gj=document.createElement("div"); _.Sr(this.Gj,"content-container");this.kl=document.createElement("slot");this.kl.addEventListener("slotchange",()=>{this.Us()});this.Gj.appendChild(this.kl);this.kl.prepend(this.pm);this.Us();Promise.resolve().then(()=>{nS(this);a.anchorTop&&(this.anchorTop=a.anchorTop);a.anchorLeft&&(this.anchorLeft=a.anchorLeft)});this.Xx=getComputedStyle(this);this.VK=(e,f,g)=>this.uy(e,f,g);const b=()=>{nS(this);oS(this);const e=_.Nn(this,"gmp-click");this.li.nh(this.map,e)},c=()=>{nS(this);oS(this)},d=["click"]; d.push("gmp-click");for(const e of d)hWa(this,e,b),gWa(this,e,c);this.ln=new _.fo;this.ln.addListener("isopen_changed",()=>{XXa(this);WXa(this)});this.yF=e=>{this.xj?.cs(e==="cooperative"||e==="none")};this.collisionBehavior=a.collisionBehavior;a.content!=null&&(this.content=a.content);this.JA=!!a.JA;this.gmpClickable=a.gmpClickable;this.gmpDraggable=a.gmpDraggable;this.position=a.position;this.title=a.title??"";this.zIndex=a.zIndex;this.map=a.map;this.zi(a,yS,"AdvancedMarkerElement")}addEventListener(a, b,c){a!=="click"||this.iD||_.Gn(_.iq(this,"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...)."));super.addEventListener(a,b,c)}addListener(a,b){a==="click"&&_.Gn(_.iq(this,"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...)."));return _.Mn(this,a,b)}pB(a){var b=a.target,c=a.relatedTarget;if(this!==b)if(a.stopPropagation(),a.stopImmediatePropagation(),console.debug('Focusable child elements in AdvancedMarkerElement are not supported. To make AdvancedMarkerElement focusable, use addListener() to register a "click" event on the AdvancedMarkerElement instance.'), this.li.yh(this.map),a=[document.body,..._.Bx(document.body)],b=a.indexOf(b),c=a.indexOf(c),b===-1||c===-1)this.focus();else for(c=b>c?1:-1,b+=c;b>=0&&b{if(this.zn){var b=()=>{this.isConnected&&this.Sk?setTimeout(()=>{this.focus();a()}, 0):_.yz(_.xz(),b)};b()}})}Ts(){}Fy(a){this.Hj&&(this.Hj.Fy(a,!this.Op),this.Op&&_.ao(this,"dragcancel"))}get collisionBehavior(){return this.UD}set collisionBehavior(a){a=this.Jh("collisionBehavior",_.hn(_.an(_.st)),a)||"REQUIRED";this.collisionBehavior!==a&&(this.UD=a,this.li.oh(this.map,this.UD),this.map&&(!bS(this)&&this.ui?cWa(this.ui.Hh,this):mS(this,!0)))}get element(){return this}get Uy(){return qS(this)[0]===this.pm}get content(){const a=qS(this);a.length>1&&console.debug("The content getter of AdvancedMarkerElement only returns the first content when there are multiple contents, use childNodes or children to get all the contents."); return a[0]}set content(a){a=this.Jh("content",_.hn(_.fn([_.$m(Node,"Node"),_.en(_.Zm)])),a)||this.pm;const b=qS(this);if(b.length!==1||b[0]!==a)a!==this.pm?this.replaceChildren(a):a===this.pm&&this.replaceChildren(),this.Us()}Us(){const a=()=>{this.kl&&!this.kl.contains(this.pm)&&this.kl.prepend(this.pm);this.Ol=null;this.Hj&&jS(this.Hj);mS(this,!0);nS(this)};this.li.ph(this.map,this.Uy);this.cq.then(()=>{a()})}get dragIndicator(){}set dragIndicator(a){}get gmpClickable(){return this.WD}set gmpClickable(a){a= this.Jh("gmpClickable",_.dt,a)||!1;this.WD!==a&&(this.WD=a,nS(this),oS(this))}get gmpDraggable(){return this.dv}set gmpDraggable(a){a=this.Jh("gmpDraggable",_.dt,a)||!1;$Xa(this,this.position,a);this.JF.set(a);this.dv!==a&&((this.dv=a)?(this.li.qh(this.map),this.setAttribute("aria-grabbed","false"),EXa(this,this.MA),this.Hj=new pYa(this),KXa(this.Hj)):(this.removeAttribute("aria-grabbed"),this.YG(this.MA),this.Hj.dispose(),this.Hj=null),nS(this),oS(this))}YG(a){var b=this.getAttribute("aria-describedby"); b=(b?b.split(" "):[]).filter(c=>c!==a);b.length>0?this.setAttribute("aria-describedby",b.join(" ")):this.removeAttribute("aria-describedby")}get map(){return this.Mk}set map(a){this.setMap(a);this.Mk&&(a=_.vo(this.Mk))&&this.parentElement!==a&&a.append(this)}setMap(a){this.Mk!==a&&(a=this.Jh("map",_.hn(_.$m(_.uo,"MapsApiMap")),a),a instanceof _.uo&&(a=a.JN),a&&this.isConnected?rS(this):this.dispose(),this.Mk=a,this.ln.set("map",this.Mk),this.Mk instanceof _.uo?(this.Mk&&FXa(this,this.Mk),this.ui= this.Mk.__gm,ZXa(this),this.EE=this.Mk.addListener("bounds_changed",()=>{sS(this)}),this.aI=this.Mk.addListener("zoom_changed",()=>{sS(this)}),this.VG=this.Mk.addListener("projection_changed",()=>{sS(this)}),this.vG=this.Mk.addListener("maptypeid_changed",()=>{bYa(this)}),Promise.all([this.ui.nh,this.ui.oh]).then(([b,c])=>{this.Mk===b.map&&(this.aG=c,this.li.zh(b.map),c=this.ui.mh,this.Op||_.nq(c,"ADVANCED_MARKERS").isAvailable)&&(this.Mh=b.Mh,bYa(this))}),cYa(this),dYa(this)):this.ui=null)}get position(){return this.ev}set position(a){a= (a=this.Jh("position",_.hn(_.Ir),a)||null)&&new _.Rp(a);const b=this.ev;$Xa(this,a,this.gmpDraggable);if(b&&a){var c=new _.Rp(b,!0);const d=new _.Rp(a,!0);c=!c.equals(d)}else c=b!==a;c&&(this.Rp=(this.ev=a)?new _.un(a):null,this.FC=!0,a||tS(this,null),this.ln.set("position",this.Rp),this.ln.set("map",this.map),this.Bx?GXa(this.map):aYa(this),this.Yl()>0&&this.li.mh(this.map),_.dq(this,"position",b))}get VL(){return this.ev}get title(){return this.os}set title(a){a=this.Jh("title",_.$r,a);const b= this.os;a!==this.title&&(this.os=a,this.title&&this.li.rh(this.map),this.title===""?(this.removeAttribute("aria-label"),this.removeAttribute("title")):(this.setAttribute("aria-label",this.title),this.setAttribute("title",this.title)),this.gx(),_.dq(this,"title",b))}get zIndex(){return this.Tz}set zIndex(a){a=this.Jh("zIndex",_.hn(_.Ys),a);this.Tz=a==null?null:a;eYa(this);this.zIndex!==null&&this.li.sh(this.map);mS(this)}get ew(){const a=_.Nn(this,"click"),b=_.Nn(this,"gmp-click");return a||b||!!this.gmpClickable}get YF(){return this.ew|| !!this.gmpDraggable}get zn(){return this.VD}set zn(a){UXa(this);this.VD!==a&&(this.VD=a,sS(this))}get bt(){return this.Sz}set bt(a){if(a!==this.Sz){if(this.Sz=a)this.wA=this.xA=!1,kS(this);this.map&&HXa(this,this.map)}}get Vo(){return this.Rz}set Vo(a){a!==this.Rz&&(this.Rz=a,this.map&&HXa(this,this.map),sS(this),_.ao(this,"UPDATE_BASEMAP_COLLISION"))}Wv(){if(!this.Sk)return null;if(!this.Ol)for(const c of qS(this)){var a=this.Xx;const {offset:d,size:e}=lWa(this,c);var b=FR(a);a=b.offsetY+d.y;b=b.offsetX+ d.x;a=_.Bp(b,a,b+e.width,a+e.height);this.Ol?this.Ol.extendByBounds(a):this.Ol=a}return this.Ol}get Sk(){return this.YD}set Sk(a){const b=this.YD==null&&!!a;this.YD=a;XXa(this,b)}Yl(){return this.ev?this.ev.altitude:0}uy(a,b,c){return this.Mk?(c=_.KEa(this.Mk.getProjection(),this.Rp,c))?a/c*Math.sin(b*Math.PI/180):0:0}ip(a,b,c){if(a){if(this.Hj){b=this.Hj;var d=b.mh;b=(d=d.ui?d.ui.vq:null)&&b.rh&&b.ph&&!b.qh?mWa(d,b.rh):null}else b=null;b&&(a=b);this.nw=a;b=this.bt;this.bt=!(!c||!(Math.abs(a.Th)> c.Th/2+512||Math.abs(a.Uh)>c.Uh/2+512));b&&this.bt||(this.xw&&this.map&&(c=_.Ka(this.map),(c=dS.get(c))&&BXa(c,this)),(new _.Oo(a.Th,a.Uh)).equals(this.Sk)||(tS(this,new _.Oo(a.Th,a.Uh)),this.Nz(this.FC)),this.FC=!1,this.wA=this.xA=!0)}else this.bt=!0,this.nw=null,tS(this,null)}Nz(a){this.Ol=null;this.Hj&&this.Hj.nh&&this.Hj.Nz(this.Wv());mS(this,a)}Ym(a){this.XD!==a&&(this.XD=a,this.ln.set("map",this.XD?this.map:null))}Ay(){if(!bS(this)||this.Vo||!qS(this).length)return null;var a=this.map.getProjection(); if(!a)return null;a=a.fromLatLngToPoint(this.Rp);const b=[];for(const f of qS(this)){a:{var c=f;var d=this.Sk;var e=this.Xx;if(!d){d={size:new _.So(0,0),offset:new _.Oo(0,0)};break a}const {size:k,offset:n}=lWa(this,c);c=FR(e);d={size:k,offset:new _.Oo(c.offsetX-d.x+n.x,c.offsetY-d.y+n.y)}}const {size:g,offset:h}=d;d=new gYa(a.x,a.y,g.width,g.height,h.x,h.y);b.push(d)}return b}At(){}yq(){return this}XF(a){return!this.position||this.Rz?!1:jWa(a,this)}gx(){const a=this.yq();this.zn?a.setAttribute("role", "button"):this.title?a.setAttribute("role","img"):a.removeAttribute("role")}get Ml(){return this.Hj?this.Hj.Ml():!1}Um(){tS(this,null);kS(this);this.xA&&this.Mh&&this.Kk&&(this.Mh.Pl(this.Kk),this.Kk=null);this.remove();this.xw=!0}dispose(){if(!this.LB){this.LB=!0;try{this.Mk&&(rS(this),this.Um())}finally{this.LB=!1}}}dD(a){{const c=this.ui?.get("projectionController");if(this.ui&&a&&c){var b=this.ui.vq.getBoundingClientRect();a=c.fromContainerPixelToLatLng(new _.Oo(a.clientX-b.left,a.clientY-b.top))}else a= null}a&&(this.position=a)}ko(){var a=this.ui?.get("projectionController");if(!this.ui||!a||!this.Rp)return null;a=a.fromLatLngToContainerPixel(this.Rp);const b=this.ui.vq.getBoundingClientRect();return{clientX:a.x+b.left,clientY:a.y+b.top}}connectedCallback(){super.connectedCallback();this.Bk.appendChild(this.Gj);this.Hj&&jS(this.Hj);if(this.isConnected&&this.parentNode){const a=CR(this);a?this.setMap(a):(rS(this),console.error("AdvancedMarkerElement: parent element must be a ."))}}disconnectedCallback(){!this.isConnected&& this.wA&&(this.map=null);this.xw=!0;super.disconnectedCallback()}};yS.prototype.addListener=yS.prototype.addListener;yS.prototype.addEventListener=yS.prototype.addEventListener;yS.prototype.constructor=yS.prototype.constructor;yS.Hi={Ki:181577,Ji:181576};_.A([_.tr({Ih:"anchor-top",type:String,Kh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"anchorTop",null); _.A([_.tr({Ih:"anchor-left",type:String,Kh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"anchorLeft",null);_.A([_.tr({Ih:"gmp-clickable",type:Boolean,Kh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"gmpClickable",null);_.A([_.tr({ii:_.Dt,ij:_.Wp,Kh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"position",null); _.A([_.tr({ii:{rk:a=>a||"",Nj:a=>a||null},Kh:!0}),_.B("design:type",String),_.B("design:paramtypes",[String])],yS.prototype,"title",null);var qYa=!1,rYa=class extends yS{constructor(a={}){super(a);if(!xS)throw Error("InternalUseAdvancedMarkerView is not allowed to be instantiated directly.");}};_.zp("gmp-internal-use-am",rYa);var zS={Marker:_.vt,CollisionBehavior:_.st,Animation:_.Eha,bK:()=>{},sA:function(a,b,c){const d=_.PGa();if(b instanceof _.kp)dXa(a,b,d);else{const e=new _.xr;dXa(e,b,d);const f=new _.xr;c||uXa(f,b,d);new kYa(a,f,e,c)}},OE:function(a={}){xS=!0;a=new rYa(a);xS=!1;return a},AdvancedMarkerElement:yS,PinElement:_.sC,AdvancedMarkerClickEvent:pS,AdvancedMarkerView:void 0,PinView:void 0,connectForExplicitThirdPartyLoad:()=>{const a={AdvancedMarkerElement:yS,PinElement:_.sC,AdvancedMarkerClickEvent:pS,AdvancedMarkerView:void 0, PinView:void 0};_.Mm(a);_.ya.google.maps.marker=a;qYa||(qYa=!0,_.zp("gmp-advanced-marker",yS))}};_.Nm(zS,["bK","sA","OE","connectForExplicitThirdPartyLoad"]);_.Mm(zS);_.Xl("marker",zS);});